package com.sy.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @className: OrdersPageDTO
 * @author: Mr.Liu
 * @date: 2025/10/30 16:54
 * @Version: 1.0
 * @description:我的订单分页查询的入参
 */
@Data
@Schema(description = "我的订单分页查询的入参实体类")
public class OrdersPageDTO {
    @Schema(description = "关键词")
    private String keyword;
    @Schema(description = "状态")
    private Integer status;
    @Schema(description = "当前页")
    private Integer curPage;
    @Schema(description = "页容量")
    private Integer pageSize;
    @NotBlank
    @Schema(description = "用户id")
    private Integer uid;
    @Schema(description = "开始时间")
    private LocalDateTime startTime;
    @Schema(description = "结束时间")
    private LocalDateTime endTime;
}
